<?php /* Smarty version 2.6.25, created on 2011-03-09 04:33:22
         compiled from account/update_user_head_img.tpl */ ?>
<?php require_once(SMARTY_CORE_DIR . 'core.load_plugins.php');
smarty_core_load_plugins(array('plugins' => array(array('function', 'config_load', 'account/update_user_head_img.tpl', 3, false),array('modifier', 'cat', 'account/update_user_head_img.tpl', 8, false),)), $this); ?>
<?php $_smarty_tpl_vars = $this->_tpl_vars;
$this->_smarty_include(array('smarty_include_tpl_file' => './div/div_html_head_info.tpl', 'smarty_include_vars' => array()));
$this->_tpl_vars = $_smarty_tpl_vars;
unset($_smarty_tpl_vars);
 ?>

<?php echo smarty_function_config_load(array('file' => "smarty_vars.conf"), $this);?>


<body>
<div class="container">

<?php $_smarty_tpl_vars = $this->_tpl_vars;
$this->_smarty_include(array('smarty_include_tpl_file' => ((is_array($_tmp=$this->_config[0]['vars']['div_path'])) ? $this->_run_mod_handler('cat', true, $_tmp, 'div_pre_header.tpl') : smarty_modifier_cat($_tmp, 'div_pre_header.tpl')), 'smarty_include_vars' => array()));
$this->_tpl_vars = $_smarty_tpl_vars;
unset($_smarty_tpl_vars);
 ?>

<?php $_smarty_tpl_vars = $this->_tpl_vars;
$this->_smarty_include(array('smarty_include_tpl_file' => ((is_array($_tmp=$this->_config[0]['vars']['div_path'])) ? $this->_run_mod_handler('cat', true, $_tmp, 'div_header.tpl') : smarty_modifier_cat($_tmp, 'div_header.tpl')), 'smarty_include_vars' => array()));
$this->_tpl_vars = $_smarty_tpl_vars;
unset($_smarty_tpl_vars);
 ?>

<?php $_smarty_tpl_vars = $this->_tpl_vars;
$this->_smarty_include(array('smarty_include_tpl_file' => ((is_array($_tmp=$this->_config[0]['vars']['div_path'])) ? $this->_run_mod_handler('cat', true, $_tmp, 'div_nav.tpl') : smarty_modifier_cat($_tmp, 'div_nav.tpl')), 'smarty_include_vars' => array()));
$this->_tpl_vars = $_smarty_tpl_vars;
unset($_smarty_tpl_vars);
 ?>

<div class="span-17">
	 
<h4>更新你的信息</h4>

<!--更新用户信息模块-->
<form action="/classmate/controller/account/do_update_user_head_img.php" method="post" enctype="multipart/form-data">

	 <?php $_smarty_tpl_vars = $this->_tpl_vars;
$this->_smarty_include(array('smarty_include_tpl_file' => ((is_array($_tmp=$this->_config[0]['vars']['mod_path'])) ? $this->_run_mod_handler('cat', true, $_tmp, 'mod_message.tpl') : smarty_modifier_cat($_tmp, 'mod_message.tpl')), 'smarty_include_vars' => array('type' => 'error','message' => $this->_tpl_vars['update_user_head_img_message'])));
$this->_tpl_vars = $_smarty_tpl_vars;
unset($_smarty_tpl_vars);
 ?>

	 <div class="span-12">

	 	 <label for="head_url">当前头像</label><br />

	 	 <hr />
		 <img src="<?php echo $this->_tpl_vars['head_url']; ?>
"  style="margin:10px;"/>
	 	 <hr />

	 	 <p>
	 	 <span>你可以上传JPG、JPEG、GIF、PNG或BMP文件。</span><br />
	 	 <label for="head_img">文件名:</label>
	 	 <input type="file" name="head_img" id="head_img" />
	 	 </p>

	 	 <p>
	 	 	 <input type="submit" value="马上更新头像" />
		 </p>

                 <p>
                          您还可以使用<a href="http://en.gravatar.com/"> gravater </a>来设置头像，一劳永逸。
                 </p>
	 </div>

</form>


</div>

<div class="span-7 last">
</div>

<?php $_smarty_tpl_vars = $this->_tpl_vars;
$this->_smarty_include(array('smarty_include_tpl_file' => ((is_array($_tmp=$this->_config[0]['vars']['div_path'])) ? $this->_run_mod_handler('cat', true, $_tmp, 'div_footer.tpl') : smarty_modifier_cat($_tmp, 'div_footer.tpl')), 'smarty_include_vars' => array()));
$this->_tpl_vars = $_smarty_tpl_vars;
unset($_smarty_tpl_vars);
 ?>

</div>
</body>
</html>
